﻿using PublicCommon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T_vehicle.Domain
{
    /// <summary>
    /// 违章信息表
    /// </summary>
    [Table("Illegal")]
    public class Illegal:Audit
    {
        /// <summary>
        /// 违章信息ID
        /// </summary>
        [Key]
        public int IllegalId { get; set; }

        /// <summary>
        /// 违章标题
        /// </summary>
        /// 
        [StringLength(50)]
        public string? IllegalTitle { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? LicenNumber { get; set; }


        /// <summary>
        /// 违章内容
        /// </summary>
        /// 
        [StringLength(100)]
        public string? Violations { get; set; }

        /// <summary>
        /// 处罚结果
        /// </summary>
        /// 

        [StringLength(100)]
        public string? Punish { get; set; }

        /// <summary>
        /// 违章人
        /// </summary>
        /// 
        [StringLength(50)]
        public string? Violators { get; set; }   


        /// <summary>
        /// 违章日期
        /// </summary>
        public DateTime? ViolatorsDate { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        /// 
        [StringLength(100)]
        public string? Remark { get; set; } 
    }
}
